package cn.edu.paisi.service.impl;

import cn.edu.paisi.entity.Subject;
import cn.edu.paisi.mapper.SubjectMapper;
import cn.edu.paisi.service.ISubjectService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author en.edu.paisi
 * @since 2021-03-05
 */
@Service
public class SubjectServiceImpl extends ServiceImpl<SubjectMapper, Subject> implements ISubjectService {

	@Override
	public Integer getCounts(Integer testId) {
		
		return baseMapper.getCounts(testId);
	}

}
